#! /usr/bin/python3 python3
# -*- coding: utf-8 -*-

# *************************************************************
#  Projectname @  pysm
#     Filename @  index.py
#       Author @  Steve.ma
#  Create date @  2018/8/31
#  Description @  
# *************************************************************

from .. import home_blueprint
from Models.HomeController import *

class IndexController(HomeControllerModel) :
    Controller = 'Index'
    def index(self):
        return self.showPage('index')

ControllerIndex = IndexController();

@home_blueprint.route('/')
def aaa():
    return ControllerIndex.index()
